<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>动感立方体</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        body {
            background-image: url(../img/beijing.jpg);
            background-size: cover;
            background-repeat: repeat;
        }

        .header {
            display: flex;
            width: 100%;
            height: 50px;
            background-color: rgb(148, 148, 228);
        }

        .header a {
            padding-left: 260px;
            line-height: 50px;
            text-decoration: none;
            font-size: 18px;
            letter-spacing: 2px;
            word-spacing: 5px;
        }

        .box {
            display: flex;
        }

        .box-1 img {
            transform: translate(50px, 50px);
        }

        .box-1 p {
            font-size: 20px;
            padding-left: 20px;
        }

        .box-2 img {
            margin-left: 150px;
            transform: rotate(180deg);
        }

        .box-2 p {
            font-size: 20px;
            padding-left: 70px;
        }

        .box-3 img {
            margin-left: 180px;
            transform: scale(1, 0.7);
        }

        .box-3 p {
            font-size: 20px;
            padding-left: 80px;
        }

        .box-4 img {
            margin-left: 200px;
            transform: skew(20deg, 0deg);
        }

        .box-4 p {
            font-size: 20px;
            padding-left: 40px;
        }

        .box-5 img {
            margin-left: 250px;
            margin-top: 70px;
            transform-origin: right top;
            transform: rotate(40deg);
        }

        .box-5 p {
            font-size: 20px;
            padding-left: 30px;
        }
    </style>
</head>

<body>
    <div class="header">
        <a href="#">
            <p>2D</p>
        </a>
        <a href="./3D.html">
            <p>3D</p>
        </a>
        <a href="./动画.html">
            <p>动画</p>
        </a>
        <a href="./立方体.html">
            <p>立方体</p>
        </a>
    </div>
    <div class="box">
        <div class="box-1">
            <p>移动</p>
            <img src="../img/四月是你的谎言.webp" width="150">
        </div>
        <div class="box-2">
            <p>旋转</p>
            <img src="../img/四月是你的谎言.webp" width="150">
        </div>
        <div class="box-3">
            <p>缩放</p>
            <img src="../img/四月是你的谎言.webp" width="150">
        </div>
        <div class="box-4">
            <p>倾斜</p>
            <img src="../img/四月是你的谎言.webp" width="150">
        </div>
        <div class="box-5">
            <p>固定点旋转</p>
            <img src="../img/四月是你的谎言.webp" width="150">
        </div>
    </div>
</body>

</html>